﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="list.aspx.cs" Inherits="Gatheshop.Web.admin.giftcard.list" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>礼品卡管理</title>
    <link type="text/css" rel="stylesheet" href="../../scripts/ui/skins/Aqua/css/ligerui-all.css" />
<link type="text/css" rel="stylesheet" href="../images/style.css" />
<link type="text/css" rel="stylesheet" href="../../css/pagination.css" />
</head>
<body>
    <form id="form1" runat="server">
    <div class="navigation">首页 &gt;  销售管理 &gt; 礼品卡管理</div>
    <div class="tools_box">
	    <div class="tools_bar">
            <a href="autoGenerate.aspx" class="tools_btn"><span><b class="add">生成礼品卡</b></span></a>
        </div>
    </div>


    <div>
    
        <asp:GridView ID="GridView_list" runat="server" AutoGenerateColumns="False" 
            AllowPaging="True" DataKeyNames="id" class="msgtable"
            onpageindexchanging="GridView_list_PageIndexChanging" 
            onrowcommand="GridView_list_RowCommand" 
            onrowdatabound="GridView_list_RowDataBound" PageSize="20" 
            HorizontalAlign="Center">
            <Columns>
                <asp:BoundField DataField="id" HeaderText="ID" >
                <ItemStyle HorizontalAlign="Center" />
                </asp:BoundField>
                <asp:BoundField DataField="cardNo" HeaderText="卡号" >
                <ItemStyle HorizontalAlign="Center" />
                </asp:BoundField>
                <asp:BoundField DataField="cardPwd" HeaderText="密码" >
                <ItemStyle HorizontalAlign="Center" />
                </asp:BoundField>
                <asp:BoundField DataField="count" HeaderText="金额" >
                <ItemStyle HorizontalAlign="Center" />
                </asp:BoundField>
                <asp:BoundField DataField="createTime" HeaderText="生成时间" >
                <ItemStyle HorizontalAlign="Center" />
                </asp:BoundField>
                <asp:BoundField DataField="isActive" HeaderText="是否激活" >
                <ItemStyle HorizontalAlign="Center" />
                </asp:BoundField>
                <asp:BoundField DataField="activeTime" HeaderText="激活时间" >
                <ItemStyle HorizontalAlign="Center" />
                </asp:BoundField>
                <asp:BoundField DataField="owner" HeaderText="使用者" >
                <ItemStyle HorizontalAlign="Center" />
                </asp:BoundField>
                <asp:ButtonField ButtonType="Button" CommandName="del" Text="删除" >
                <ItemStyle HorizontalAlign="Center" />
                </asp:ButtonField>
            </Columns>
        </asp:GridView>
    
    </div>
    </form>
</body>
</html>
